package bank.transport;

import java.io.Serializable;
import java.util.Iterator;
import java.util.Set;

import bank.Account;

public class Answer implements Serializable{
	public String str1 = null;
	public Boolean bool1 = null;
	public String[] sstr1 = new String[1000];
	public Account acc1 = null;
	
	public Answer(String str1) {
		this.str1 = str1;
	}
	
	public Answer(Boolean bool1) {
		this.bool1 = bool1;
	}
	
	public Answer(Set<String> numbers) {
		int i = 0;

		Iterator iterator = numbers.iterator();
		while (iterator.hasNext()) {
			this.sstr1[i] = (String) iterator.next();
			i++;
		}
	}
	
	public Answer(Account acc1) {
		this.acc1 = acc1;
	}
	

}
